import {Component} from '@angular/core';
import {NavController, NavParams, ViewController} from 'ionic-angular';


@Component({
    selector: 'popoverPage',
    templateUrl: 'popoverPage.html'
})
export class PopOverPage {
    // constructor(public navCtrl: NavController) {
    //
    // }

    constructor(public navCtrl: NavController, params: NavParams, public viewCtrl: ViewController) {
        console.log('UserId', params.get('userId'));
    }

    cancelModel() {

    }

    dismiss() {
        let data = {'foo': 'bar'};
        this.viewCtrl.dismiss(data);
    }
}
